package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.food.api.model.FoodDiscountVo;
import com.ruoyi.system.domain.ActivityDiscount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 活动折扣映射器
 *
 * @author Administrator
 * @date 2023/03/13
 */
@Mapper
public interface ActivityDiscountMapper extends BaseMapperPlus<ActivityDiscountMapper, ActivityDiscount, ActivityDiscount> {


    /**
     * 分页菜品详情
     *
     * @param ew   ew
     * @param page 分页
     * @return {@link IPage}<{@link FoodDiscountVo}>
     */
    IPage<FoodDiscountVo> pageFoodDetail(IPage<?> page, @Param("ew") Wrapper<Object> ew);
}
